package com.eight.paper.admin.domain;

import com.eight.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 考生答卷总对象 exam_paper_examinee
 * 
 * @author eight
 * @date 2023-10-31
 */
@Data
public class ExamPaperExaminee
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 考试试卷表id，exam_paper.id */
    @Excel(name = "试卷编号",sort = 0)
    private Integer paperId;

    /** 考生id，sys_user.id */
    @Excel(name = "考生编号",sort = 2)
    private Integer userId;

    /** 阅卷状态，0:未交卷;1:待阅卷;2:已阅卷 */
    @Excel(name = "阅卷状态，0:未交卷;1:待阅卷;2:已阅卷")
    private String status;

    /** 答卷提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "答卷提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss",sort = 4)
    private Date submitTime;

    /** 阅卷人id，sys_user.id */
    @Excel(name = "阅卷人编号",sort = 5)
    private Integer gradeId;

    /** 阅卷时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "阅卷时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss",sort = 7)
    private Date gradeTime;

    /** 试卷试题顺序 */
    private String questionOrder;

    /** 总得分 */
    @Excel(name = "总得分")
    private BigDecimal totalScore;

    /** 评语 */
    @Excel(name = "评语")
    private String comment;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
